<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of usuario
 *
 * @author Javier Barraza
 */
class usuario extends object_standard {

    protected $cedula;
    protected $nombre;
    protected $username;
    protected $password;
    protected $email;
    protected $foto;
    //components
    var $components = array();
    //auxiliars for primary key and for files
    var $auxiliars = array();

    //attribute information
    public function attributes() {
        return array("cedula" => array(), "nombre" => array(), "username" => array(), "password" => array(), "email"=>array(), "foto"=>array()); 
    }

    public function primary_key() {
        return array("cedula");
    }

    public function relational_keys($class, $rel_name) {
        switch ($option) {
            default:
                break;
        }
    }

}

?>